package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    //新增套餐
    public void add(Setmeal setmeal, Integer[] checkgroupIds);
    //套餐分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);
    //查询所有套餐
    public List<Setmeal> findAll();
    //根据id查询对应套餐
    public Setmeal findById(int id);
    //查询套餐预约
    public List<Map<String,Object>> findSetmealCount();
}